package com.crazyread.model.domain;

public class Book {
    private Integer id;

    private String bookname;

    private Integer bookchapterid;

    private String pic;

    private String author;

    private Integer booktypeid;

    private String introduction;

    private String number;

    private Integer stars;

    private Integer rackstate;  //书籍是否在书架的状态

    private String bookTypeName;  //文章分类

    private Integer hits;       // 点击量

    private Integer commentsNum;  // 评论总量

    public String getBookTypeName() {
        return bookTypeName;
    }

    public void setBookTypeName(String bookTypeName) {
        this.bookTypeName = bookTypeName;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getCommentsNum() {
        return commentsNum;
    }

    public void setCommentsNum(Integer commentsNum) {
        this.commentsNum = commentsNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname == null ? null : bookname.trim();
    }

    public Integer getBookchapterid() {
        return bookchapterid;
    }

    public void setBookchapterid(Integer bookchapterid) {
        this.bookchapterid = bookchapterid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Integer getBooktypeid() {
        return booktypeid;
    }

    public void setBooktypeid(Integer booktypeid) {
        this.booktypeid = booktypeid;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public Integer getStars() {
        return stars;
    }

    public void setStars(Integer stars) {
        this.stars = stars;
    }

    public Integer getRackstate() {
        return rackstate;
    }

    public void setRackstate(Integer rackstate) {
        this.rackstate = rackstate;
    }


}